﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site.Master" AutoEventWireup="true" CodeBehind="book.aspx.cs" Inherits="BookClubIt.bookdetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="container">

    <div class="content-wide">
    <a href="javascript:history.go(-1)" class="btn btn-alert" style="margin-bottom:10px;"> << Go Back</a>
    <div class="book-details">
    <div class="image">
    <asp:Image ID="imgBookCover" runat="server" />
    <asp:HyperLink id="lnkAmazonUrl" CssClass="btn btn-small btn-success" runat="server" Text="Buy From Amazon" Target="_blank" />
    </div>
    <div class="details">
           <h1><asp:Label ID="lblTitle" runat="server" /></h1>
           <ul>
           <li><b>Author:</b> <asp:Label ID="lblAuthor" runat="server" /></li>
            <li><b>Binding:</b> <asp:Label ID="lblBinding" runat="server" /></li>
             <li><b>ISBN:</b> <asp:Label ID="lblISBN" runat="server" /></li>
               <li><b>Pages:</b> <asp:Label ID="lblPages" runat="server" /></li>
                <li><b>Published:</b> <asp:Label ID="lblPublishedDate" runat="server" /></li>
                <li><b>Publisher:</b> <asp:Label ID="lblPublisher" runat="server" /></li>
           </ul>
           <p><asp:Label ID="lblEditorial" runat="server" /></p>
</div>

</div>

<div class="clubs-reading">
    <h2><small>Book Clubs Reading This...</small></h2>
    <asp:Panel ID="pnlNoResults" runat="server" Visible="false" CssClass="no-results">
    <h3>No book clubs are reading this book.</h3>
    <p>If you would like to read and discuss this book, <a href="startbookclub.aspx">create a book club</a> and add this as your book!</p>
    </asp:Panel>
    <asp:GridView ID="grdClubsReading"
 OnRowDataBound="grdClubsReading_OnRowDataBound"
  runat="server"
   AutoGenerateColumns="false"
    AlternatingRowStyle-CssClass="alt"
     CssClass="table browse-clubs"
     BorderWidth="0"
     GridLines="None"
      AllowPaging="True">
<Columns>
 <asp:TemplateField ItemStyle-CssClass="avatar-row">
           <HeaderTemplate>
            
           </HeaderTemplate>
           <ItemTemplate>
          
           <asp:Image ID="imgClubAvatar" runat="server" Height="50px" Width="50px" />
           </ItemTemplate>
      </asp:TemplateField>

    <asp:TemplateField HeaderStyle-CssClass="main-link" ItemStyle-CssClass="main-link">
           <HeaderTemplate >
              Name
           </HeaderTemplate>
           <ItemTemplate>
           <asp:HyperLink ID="lnkBookClub" runat="server" />
           
           </ItemTemplate>
      </asp:TemplateField>

          <asp:TemplateField>
           <HeaderTemplate>
                Type
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblClubType"/>
           </ItemTemplate>
      </asp:TemplateField>
       <asp:TemplateField>
           <HeaderTemplate>
                Genre
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblGenreType"/>
           </ItemTemplate>
      </asp:TemplateField>
        <asp:TemplateField>
           <HeaderTemplate>
                Members
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblNumMembers"/>
           </ItemTemplate>
      </asp:TemplateField>

        <asp:TemplateField>
           <HeaderTemplate>
                Reading
           </HeaderTemplate>
           <ItemTemplate>
               
                <asp:Image ID="imgCurrentBook" runat="server" Height="50px" Width="35px" />
           </ItemTemplate>
      </asp:TemplateField>

         <asp:TemplateField>
           <HeaderTemplate>
                Created
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblCreatedDate"/>
           </ItemTemplate>
      </asp:TemplateField>

       <asp:TemplateField ItemStyle-CssClass="buttons">
           <ItemTemplate>
             <asp:HyperLink ID="lnkViewClub" runat="server" CssClass="btn btn-small btn-info" Text="View" />
           </ItemTemplate>
      </asp:TemplateField>
</Columns>
<PagerStyle CssClass="pagination" />
</asp:GridView>
</div>

</div>
          <div class="right-sidebar">

          <script type="text/javascript"><!--
              google_ad_client = "ca-pub-1776925204000985";
              /* BCI-book-right */
              google_ad_slot = "7674246934";
              google_ad_width = 250;
              google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


           </div>
       </div>
</asp:Content>
